package com.woniuxy.store.core.service.impl;

import com.woniuxy.store.core.model.PmComplain;
import com.woniuxy.store.core.mapper.PmComplainMapper;
import com.woniuxy.store.core.service.PmComplainService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.store.core.vo.ComplainVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-07-06
 */
@Service
public class PmComplainServiceImpl extends ServiceImpl<PmComplainMapper, PmComplain> implements PmComplainService {
    @Resource
    private PmComplainMapper complainMapper;
    @Override
    public List<ComplainVo> selectComplain(Integer storeId) {
        return complainMapper.selectComplain(storeId);
    }
}
